package com.hm.hall.commons.domain;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class AccessLogExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public AccessLogExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    /**
     * This class was generated by MyBatis Generator.
     * This class corresponds to the database table t_access_log
     *
     * @mbggenerated
     */
    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdtAccessLogIsNull() {
            addCriterion("idt_access_log is null");
            return (Criteria) this;
        }

        public Criteria andIdtAccessLogIsNotNull() {
            addCriterion("idt_access_log is not null");
            return (Criteria) this;
        }

        public Criteria andIdtAccessLogEqualTo(Long value) {
            addCriterion("idt_access_log =", value, "idtAccessLog");
            return (Criteria) this;
        }

        public Criteria andIdtAccessLogNotEqualTo(Long value) {
            addCriterion("idt_access_log <>", value, "idtAccessLog");
            return (Criteria) this;
        }

        public Criteria andIdtAccessLogGreaterThan(Long value) {
            addCriterion("idt_access_log >", value, "idtAccessLog");
            return (Criteria) this;
        }

        public Criteria andIdtAccessLogGreaterThanOrEqualTo(Long value) {
            addCriterion("idt_access_log >=", value, "idtAccessLog");
            return (Criteria) this;
        }

        public Criteria andIdtAccessLogLessThan(Long value) {
            addCriterion("idt_access_log <", value, "idtAccessLog");
            return (Criteria) this;
        }

        public Criteria andIdtAccessLogLessThanOrEqualTo(Long value) {
            addCriterion("idt_access_log <=", value, "idtAccessLog");
            return (Criteria) this;
        }

        public Criteria andIdtAccessLogIn(List<Long> values) {
            addCriterion("idt_access_log in", values, "idtAccessLog");
            return (Criteria) this;
        }

        public Criteria andIdtAccessLogNotIn(List<Long> values) {
            addCriterion("idt_access_log not in", values, "idtAccessLog");
            return (Criteria) this;
        }

        public Criteria andIdtAccessLogBetween(Long value1, Long value2) {
            addCriterion("idt_access_log between", value1, value2, "idtAccessLog");
            return (Criteria) this;
        }

        public Criteria andIdtAccessLogNotBetween(Long value1, Long value2) {
            addCriterion("idt_access_log not between", value1, value2, "idtAccessLog");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNull() {
            addCriterion("user_id is null");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNotNull() {
            addCriterion("user_id is not null");
            return (Criteria) this;
        }

        public Criteria andUserIdEqualTo(Long value) {
            addCriterion("user_id =", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotEqualTo(Long value) {
            addCriterion("user_id <>", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThan(Long value) {
            addCriterion("user_id >", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThanOrEqualTo(Long value) {
            addCriterion("user_id >=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThan(Long value) {
            addCriterion("user_id <", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThanOrEqualTo(Long value) {
            addCriterion("user_id <=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdIn(List<Long> values) {
            addCriterion("user_id in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotIn(List<Long> values) {
            addCriterion("user_id not in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdBetween(Long value1, Long value2) {
            addCriterion("user_id between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotBetween(Long value1, Long value2) {
            addCriterion("user_id not between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andQVersionIsNull() {
            addCriterion("q_version is null");
            return (Criteria) this;
        }

        public Criteria andQVersionIsNotNull() {
            addCriterion("q_version is not null");
            return (Criteria) this;
        }

        public Criteria andQVersionEqualTo(String value) {
            addCriterion("q_version =", value, "qVersion");
            return (Criteria) this;
        }

        public Criteria andQVersionNotEqualTo(String value) {
            addCriterion("q_version <>", value, "qVersion");
            return (Criteria) this;
        }

        public Criteria andQVersionGreaterThan(String value) {
            addCriterion("q_version >", value, "qVersion");
            return (Criteria) this;
        }

        public Criteria andQVersionGreaterThanOrEqualTo(String value) {
            addCriterion("q_version >=", value, "qVersion");
            return (Criteria) this;
        }

        public Criteria andQVersionLessThan(String value) {
            addCriterion("q_version <", value, "qVersion");
            return (Criteria) this;
        }

        public Criteria andQVersionLessThanOrEqualTo(String value) {
            addCriterion("q_version <=", value, "qVersion");
            return (Criteria) this;
        }

        public Criteria andQVersionLike(String value) {
            addCriterion("q_version like", value, "qVersion");
            return (Criteria) this;
        }

        public Criteria andQVersionNotLike(String value) {
            addCriterion("q_version not like", value, "qVersion");
            return (Criteria) this;
        }

        public Criteria andQVersionIn(List<String> values) {
            addCriterion("q_version in", values, "qVersion");
            return (Criteria) this;
        }

        public Criteria andQVersionNotIn(List<String> values) {
            addCriterion("q_version not in", values, "qVersion");
            return (Criteria) this;
        }

        public Criteria andQVersionBetween(String value1, String value2) {
            addCriterion("q_version between", value1, value2, "qVersion");
            return (Criteria) this;
        }

        public Criteria andQVersionNotBetween(String value1, String value2) {
            addCriterion("q_version not between", value1, value2, "qVersion");
            return (Criteria) this;
        }

        public Criteria andDeviceTypeIsNull() {
            addCriterion("device_type is null");
            return (Criteria) this;
        }

        public Criteria andDeviceTypeIsNotNull() {
            addCriterion("device_type is not null");
            return (Criteria) this;
        }

        public Criteria andDeviceTypeEqualTo(String value) {
            addCriterion("device_type =", value, "deviceType");
            return (Criteria) this;
        }

        public Criteria andDeviceTypeNotEqualTo(String value) {
            addCriterion("device_type <>", value, "deviceType");
            return (Criteria) this;
        }

        public Criteria andDeviceTypeGreaterThan(String value) {
            addCriterion("device_type >", value, "deviceType");
            return (Criteria) this;
        }

        public Criteria andDeviceTypeGreaterThanOrEqualTo(String value) {
            addCriterion("device_type >=", value, "deviceType");
            return (Criteria) this;
        }

        public Criteria andDeviceTypeLessThan(String value) {
            addCriterion("device_type <", value, "deviceType");
            return (Criteria) this;
        }

        public Criteria andDeviceTypeLessThanOrEqualTo(String value) {
            addCriterion("device_type <=", value, "deviceType");
            return (Criteria) this;
        }

        public Criteria andDeviceTypeLike(String value) {
            addCriterion("device_type like", value, "deviceType");
            return (Criteria) this;
        }

        public Criteria andDeviceTypeNotLike(String value) {
            addCriterion("device_type not like", value, "deviceType");
            return (Criteria) this;
        }

        public Criteria andDeviceTypeIn(List<String> values) {
            addCriterion("device_type in", values, "deviceType");
            return (Criteria) this;
        }

        public Criteria andDeviceTypeNotIn(List<String> values) {
            addCriterion("device_type not in", values, "deviceType");
            return (Criteria) this;
        }

        public Criteria andDeviceTypeBetween(String value1, String value2) {
            addCriterion("device_type between", value1, value2, "deviceType");
            return (Criteria) this;
        }

        public Criteria andDeviceTypeNotBetween(String value1, String value2) {
            addCriterion("device_type not between", value1, value2, "deviceType");
            return (Criteria) this;
        }

        public Criteria andDeviceOsversionIsNull() {
            addCriterion("device_osversion is null");
            return (Criteria) this;
        }

        public Criteria andDeviceOsversionIsNotNull() {
            addCriterion("device_osversion is not null");
            return (Criteria) this;
        }

        public Criteria andDeviceOsversionEqualTo(String value) {
            addCriterion("device_osversion =", value, "deviceOsversion");
            return (Criteria) this;
        }

        public Criteria andDeviceOsversionNotEqualTo(String value) {
            addCriterion("device_osversion <>", value, "deviceOsversion");
            return (Criteria) this;
        }

        public Criteria andDeviceOsversionGreaterThan(String value) {
            addCriterion("device_osversion >", value, "deviceOsversion");
            return (Criteria) this;
        }

        public Criteria andDeviceOsversionGreaterThanOrEqualTo(String value) {
            addCriterion("device_osversion >=", value, "deviceOsversion");
            return (Criteria) this;
        }

        public Criteria andDeviceOsversionLessThan(String value) {
            addCriterion("device_osversion <", value, "deviceOsversion");
            return (Criteria) this;
        }

        public Criteria andDeviceOsversionLessThanOrEqualTo(String value) {
            addCriterion("device_osversion <=", value, "deviceOsversion");
            return (Criteria) this;
        }

        public Criteria andDeviceOsversionLike(String value) {
            addCriterion("device_osversion like", value, "deviceOsversion");
            return (Criteria) this;
        }

        public Criteria andDeviceOsversionNotLike(String value) {
            addCriterion("device_osversion not like", value, "deviceOsversion");
            return (Criteria) this;
        }

        public Criteria andDeviceOsversionIn(List<String> values) {
            addCriterion("device_osversion in", values, "deviceOsversion");
            return (Criteria) this;
        }

        public Criteria andDeviceOsversionNotIn(List<String> values) {
            addCriterion("device_osversion not in", values, "deviceOsversion");
            return (Criteria) this;
        }

        public Criteria andDeviceOsversionBetween(String value1, String value2) {
            addCriterion("device_osversion between", value1, value2, "deviceOsversion");
            return (Criteria) this;
        }

        public Criteria andDeviceOsversionNotBetween(String value1, String value2) {
            addCriterion("device_osversion not between", value1, value2, "deviceOsversion");
            return (Criteria) this;
        }

        public Criteria andDeviceOsIsNull() {
            addCriterion("device_os is null");
            return (Criteria) this;
        }

        public Criteria andDeviceOsIsNotNull() {
            addCriterion("device_os is not null");
            return (Criteria) this;
        }

        public Criteria andDeviceOsEqualTo(String value) {
            addCriterion("device_os =", value, "deviceOs");
            return (Criteria) this;
        }

        public Criteria andDeviceOsNotEqualTo(String value) {
            addCriterion("device_os <>", value, "deviceOs");
            return (Criteria) this;
        }

        public Criteria andDeviceOsGreaterThan(String value) {
            addCriterion("device_os >", value, "deviceOs");
            return (Criteria) this;
        }

        public Criteria andDeviceOsGreaterThanOrEqualTo(String value) {
            addCriterion("device_os >=", value, "deviceOs");
            return (Criteria) this;
        }

        public Criteria andDeviceOsLessThan(String value) {
            addCriterion("device_os <", value, "deviceOs");
            return (Criteria) this;
        }

        public Criteria andDeviceOsLessThanOrEqualTo(String value) {
            addCriterion("device_os <=", value, "deviceOs");
            return (Criteria) this;
        }

        public Criteria andDeviceOsLike(String value) {
            addCriterion("device_os like", value, "deviceOs");
            return (Criteria) this;
        }

        public Criteria andDeviceOsNotLike(String value) {
            addCriterion("device_os not like", value, "deviceOs");
            return (Criteria) this;
        }

        public Criteria andDeviceOsIn(List<String> values) {
            addCriterion("device_os in", values, "deviceOs");
            return (Criteria) this;
        }

        public Criteria andDeviceOsNotIn(List<String> values) {
            addCriterion("device_os not in", values, "deviceOs");
            return (Criteria) this;
        }

        public Criteria andDeviceOsBetween(String value1, String value2) {
            addCriterion("device_os between", value1, value2, "deviceOs");
            return (Criteria) this;
        }

        public Criteria andDeviceOsNotBetween(String value1, String value2) {
            addCriterion("device_os not between", value1, value2, "deviceOs");
            return (Criteria) this;
        }

        public Criteria andDeviceIdIsNull() {
            addCriterion("device_id is null");
            return (Criteria) this;
        }

        public Criteria andDeviceIdIsNotNull() {
            addCriterion("device_id is not null");
            return (Criteria) this;
        }

        public Criteria andDeviceIdEqualTo(String value) {
            addCriterion("device_id =", value, "deviceId");
            return (Criteria) this;
        }

        public Criteria andDeviceIdNotEqualTo(String value) {
            addCriterion("device_id <>", value, "deviceId");
            return (Criteria) this;
        }

        public Criteria andDeviceIdGreaterThan(String value) {
            addCriterion("device_id >", value, "deviceId");
            return (Criteria) this;
        }

        public Criteria andDeviceIdGreaterThanOrEqualTo(String value) {
            addCriterion("device_id >=", value, "deviceId");
            return (Criteria) this;
        }

        public Criteria andDeviceIdLessThan(String value) {
            addCriterion("device_id <", value, "deviceId");
            return (Criteria) this;
        }

        public Criteria andDeviceIdLessThanOrEqualTo(String value) {
            addCriterion("device_id <=", value, "deviceId");
            return (Criteria) this;
        }

        public Criteria andDeviceIdLike(String value) {
            addCriterion("device_id like", value, "deviceId");
            return (Criteria) this;
        }

        public Criteria andDeviceIdNotLike(String value) {
            addCriterion("device_id not like", value, "deviceId");
            return (Criteria) this;
        }

        public Criteria andDeviceIdIn(List<String> values) {
            addCriterion("device_id in", values, "deviceId");
            return (Criteria) this;
        }

        public Criteria andDeviceIdNotIn(List<String> values) {
            addCriterion("device_id not in", values, "deviceId");
            return (Criteria) this;
        }

        public Criteria andDeviceIdBetween(String value1, String value2) {
            addCriterion("device_id between", value1, value2, "deviceId");
            return (Criteria) this;
        }

        public Criteria andDeviceIdNotBetween(String value1, String value2) {
            addCriterion("device_id not between", value1, value2, "deviceId");
            return (Criteria) this;
        }

        public Criteria andUrlIsNull() {
            addCriterion("url is null");
            return (Criteria) this;
        }

        public Criteria andUrlIsNotNull() {
            addCriterion("url is not null");
            return (Criteria) this;
        }

        public Criteria andUrlEqualTo(String value) {
            addCriterion("url =", value, "url");
            return (Criteria) this;
        }

        public Criteria andUrlNotEqualTo(String value) {
            addCriterion("url <>", value, "url");
            return (Criteria) this;
        }

        public Criteria andUrlGreaterThan(String value) {
            addCriterion("url >", value, "url");
            return (Criteria) this;
        }

        public Criteria andUrlGreaterThanOrEqualTo(String value) {
            addCriterion("url >=", value, "url");
            return (Criteria) this;
        }

        public Criteria andUrlLessThan(String value) {
            addCriterion("url <", value, "url");
            return (Criteria) this;
        }

        public Criteria andUrlLessThanOrEqualTo(String value) {
            addCriterion("url <=", value, "url");
            return (Criteria) this;
        }

        public Criteria andUrlLike(String value) {
            addCriterion("url like", value, "url");
            return (Criteria) this;
        }

        public Criteria andUrlNotLike(String value) {
            addCriterion("url not like", value, "url");
            return (Criteria) this;
        }

        public Criteria andUrlIn(List<String> values) {
            addCriterion("url in", values, "url");
            return (Criteria) this;
        }

        public Criteria andUrlNotIn(List<String> values) {
            addCriterion("url not in", values, "url");
            return (Criteria) this;
        }

        public Criteria andUrlBetween(String value1, String value2) {
            addCriterion("url between", value1, value2, "url");
            return (Criteria) this;
        }

        public Criteria andUrlNotBetween(String value1, String value2) {
            addCriterion("url not between", value1, value2, "url");
            return (Criteria) this;
        }

        public Criteria andHandlerIsNull() {
            addCriterion("handler is null");
            return (Criteria) this;
        }

        public Criteria andHandlerIsNotNull() {
            addCriterion("handler is not null");
            return (Criteria) this;
        }

        public Criteria andHandlerEqualTo(String value) {
            addCriterion("handler =", value, "handler");
            return (Criteria) this;
        }

        public Criteria andHandlerNotEqualTo(String value) {
            addCriterion("handler <>", value, "handler");
            return (Criteria) this;
        }

        public Criteria andHandlerGreaterThan(String value) {
            addCriterion("handler >", value, "handler");
            return (Criteria) this;
        }

        public Criteria andHandlerGreaterThanOrEqualTo(String value) {
            addCriterion("handler >=", value, "handler");
            return (Criteria) this;
        }

        public Criteria andHandlerLessThan(String value) {
            addCriterion("handler <", value, "handler");
            return (Criteria) this;
        }

        public Criteria andHandlerLessThanOrEqualTo(String value) {
            addCriterion("handler <=", value, "handler");
            return (Criteria) this;
        }

        public Criteria andHandlerLike(String value) {
            addCriterion("handler like", value, "handler");
            return (Criteria) this;
        }

        public Criteria andHandlerNotLike(String value) {
            addCriterion("handler not like", value, "handler");
            return (Criteria) this;
        }

        public Criteria andHandlerIn(List<String> values) {
            addCriterion("handler in", values, "handler");
            return (Criteria) this;
        }

        public Criteria andHandlerNotIn(List<String> values) {
            addCriterion("handler not in", values, "handler");
            return (Criteria) this;
        }

        public Criteria andHandlerBetween(String value1, String value2) {
            addCriterion("handler between", value1, value2, "handler");
            return (Criteria) this;
        }

        public Criteria andHandlerNotBetween(String value1, String value2) {
            addCriterion("handler not between", value1, value2, "handler");
            return (Criteria) this;
        }

        public Criteria andOthersIsNull() {
            addCriterion("others is null");
            return (Criteria) this;
        }

        public Criteria andOthersIsNotNull() {
            addCriterion("others is not null");
            return (Criteria) this;
        }

        public Criteria andOthersEqualTo(String value) {
            addCriterion("others =", value, "others");
            return (Criteria) this;
        }

        public Criteria andOthersNotEqualTo(String value) {
            addCriterion("others <>", value, "others");
            return (Criteria) this;
        }

        public Criteria andOthersGreaterThan(String value) {
            addCriterion("others >", value, "others");
            return (Criteria) this;
        }

        public Criteria andOthersGreaterThanOrEqualTo(String value) {
            addCriterion("others >=", value, "others");
            return (Criteria) this;
        }

        public Criteria andOthersLessThan(String value) {
            addCriterion("others <", value, "others");
            return (Criteria) this;
        }

        public Criteria andOthersLessThanOrEqualTo(String value) {
            addCriterion("others <=", value, "others");
            return (Criteria) this;
        }

        public Criteria andOthersLike(String value) {
            addCriterion("others like", value, "others");
            return (Criteria) this;
        }

        public Criteria andOthersNotLike(String value) {
            addCriterion("others not like", value, "others");
            return (Criteria) this;
        }

        public Criteria andOthersIn(List<String> values) {
            addCriterion("others in", values, "others");
            return (Criteria) this;
        }

        public Criteria andOthersNotIn(List<String> values) {
            addCriterion("others not in", values, "others");
            return (Criteria) this;
        }

        public Criteria andOthersBetween(String value1, String value2) {
            addCriterion("others between", value1, value2, "others");
            return (Criteria) this;
        }

        public Criteria andOthersNotBetween(String value1, String value2) {
            addCriterion("others not between", value1, value2, "others");
            return (Criteria) this;
        }

        public Criteria andAccessTimeIsNull() {
            addCriterion("access_time is null");
            return (Criteria) this;
        }

        public Criteria andAccessTimeIsNotNull() {
            addCriterion("access_time is not null");
            return (Criteria) this;
        }

        public Criteria andAccessTimeEqualTo(Date value) {
            addCriterion("access_time =", value, "accessTime");
            return (Criteria) this;
        }

        public Criteria andAccessTimeNotEqualTo(Date value) {
            addCriterion("access_time <>", value, "accessTime");
            return (Criteria) this;
        }

        public Criteria andAccessTimeGreaterThan(Date value) {
            addCriterion("access_time >", value, "accessTime");
            return (Criteria) this;
        }

        public Criteria andAccessTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("access_time >=", value, "accessTime");
            return (Criteria) this;
        }

        public Criteria andAccessTimeLessThan(Date value) {
            addCriterion("access_time <", value, "accessTime");
            return (Criteria) this;
        }

        public Criteria andAccessTimeLessThanOrEqualTo(Date value) {
            addCriterion("access_time <=", value, "accessTime");
            return (Criteria) this;
        }

        public Criteria andAccessTimeIn(List<Date> values) {
            addCriterion("access_time in", values, "accessTime");
            return (Criteria) this;
        }

        public Criteria andAccessTimeNotIn(List<Date> values) {
            addCriterion("access_time not in", values, "accessTime");
            return (Criteria) this;
        }

        public Criteria andAccessTimeBetween(Date value1, Date value2) {
            addCriterion("access_time between", value1, value2, "accessTime");
            return (Criteria) this;
        }

        public Criteria andAccessTimeNotBetween(Date value1, Date value2) {
            addCriterion("access_time not between", value1, value2, "accessTime");
            return (Criteria) this;
        }
    }

    /**
     * This class was generated by MyBatis Generator.
     * This class corresponds to the database table t_access_log
     *
     * @mbggenerated do_not_delete_during_merge
     */
    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    /**
     * This class was generated by MyBatis Generator.
     * This class corresponds to the database table t_access_log
     *
     * @mbggenerated
     */
    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }
    }
}